This function returns information about the fields in a given level. Typical reasons for failure are an improper point id or level number.
Result = EOS_PT_LEVELINFO(pointID, level, fieldlist, fldtype, fldorder)
Returns number of fields if successful and FAIL (–1) otherwise.
Point id (long) returned by EOS_PT_CREATE or EOS_PT_ATTACH.
Point level (0-based long).
A named variable that will contain field names (string) in level.
A named variable that will contain the number HDF data type (long) of each field.
A named variable that will contain the order (long) of each field.
None
In this example, we return information about the Desc-Loc (1st) level defined previously:
nflds = EOS_PT_LEVELINFO(pointID2, 0, fldlist, fldtype, fldorder)
The last variable is useful only when information on an entire point is requested.
5.2 |
Introduced |